package com.example.entity.vo.pc;

import com.example.entity.mysql.Workresource;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "生产线/设备")
@Data
public class MachinesVo {

    @ApiModelProperty(value = "当日应生产数量 ＞ 0")
    private Double nowDateNums;

    @ApiModelProperty("工序代号")
    private String op_seq;

    @ApiModelProperty("下一站工序代号")
    private String toop_seq;

    @ApiModelProperty("模具组编号")
    private String mouldGroupNo;

    @ApiModelProperty("模具组名称")
    private String mouldGroupName;

    @ApiModelProperty("机台指派时间")
    private String jitaizhipaishijian;

    @ApiModelProperty("订单数量")
    private BigDecimal saleOrderNum;

    @ApiModelProperty("工艺路线名称")
    private String processrouteName;

    @ApiModelProperty(value = "工艺名称")
    private String processName;

    @ApiModelProperty("客户名称")
    private String customName;

    @ApiModelProperty("是否缺料")
    private Boolean isQueLiao;

    @ApiModelProperty("预交货日")
    private String deliveryDate;

    @ApiModelProperty("订单单别")
    private String orderSingle;

    @ApiModelProperty("订单单号")
    private String orderNo;

//    invrt_name, A.UDF02 processroute, A.UDF04 inv_no
    @ApiModelProperty("常用/代替")
    private String invrtName;

    @ApiModelProperty("工艺路线")
    private String processroute;

    @ApiModelProperty(value = "产成品编号")
    private String invNo;

    @ApiModelProperty(value = "工序")
    private String processNo;

    @ApiModelProperty(value = "工艺")
    private String processId;

    @ApiModelProperty(value = "排产单状态(排产的生命周期)")
    private String mocStatus;

    @ApiModelProperty(value = "工作中心ID")
    private String workCenterId;

    @ApiModelProperty(value = "工作中心名称")
    private String workCenterName;

    @ApiModelProperty(value = "工单单别")
    private String workSingle;

    @ApiModelProperty(value = "工单单号")
    private String workNo;

    @ApiModelProperty("产品品号(在产品编号)")
    private String productId;

    @ApiModelProperty("产品品名")
    private String productName;

    @ApiModelProperty("产品规格")
    private String specification;

    @ApiModelProperty(value = "日期 (排产日期)")
    private String date;

    // MOCTY UDF05
    @ApiModelProperty(value = "生产线/设备 UUID")
    private String productLineId;

    // MOCTY TY009
    @ApiModelProperty(value = "生产线/设备 资源ID")
    private String productLine;

    // MOCTY TY009
    @ApiModelProperty(value = "生产线/设备 资源名称")
    private String productLineName;

    // MOCTY TY009
    @ApiModelProperty(value = "生产线/设备 资源编号")
    private String productLineNo;

    // TY004
    @ApiModelProperty(value = "数量 ＞ 0")
    private Double nums;

    // MOCTY UDF03
    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "负荷时间 单位小时")
    private String loadTime;

    @ApiModelProperty(value = "具体资源")
    private List<Workresource> list;

}
